<div class="box box-info">
  <div class="box-header with-border">
    <h3 class="box-title">用户详情</h3>
  </div>
  <!-- /.box-header -->
  <!-- form start -->
  <form class="form-horizontal">
    <div class="box-body">
      <div class="form-group">
        <label class="col-sm-2 control-label">头像</label>
        <div class="col-sm-10">
          <div class="cover-img" [ngStyle]="{'background-image':'url(file/download?filId='+user.headImage+')'}"></div>
        </div>
      </div>
      <div class="form-group">
        <label class="col-sm-2 control-label">用户名</label>
        <div class="col-sm-10">
          <span class="form-control">{{user.username}}</span>
        </div>
      </div>
      <div class="form-group">
        <label class="col-sm-2 control-label">性别</label>
        <div class="col-sm-10">
          <span class="form-control">{{user.sex==='1'?'男':'女'}}</span>
        </div>
      </div>
      <div class="form-group">
        <label class="col-sm-2 control-label">邮箱</label>
        <div class="col-sm-10">
          <span class="form-control">{{user.email}}</span>
        </div>
      </div>
      <div class="form-group">
        <label class="col-sm-2 control-label">生日</label>
        <div class="col-sm-10">
          <span class="form-control">{{user.birthday | date:'yyyy年MM月dd日'}}</span>
        </div>
      </div>
    </div>
    <!-- /.box-body -->
    <!--<div class="box-footer">-->

    <!--<button type="submit" class="btn btn-default">确 定</button>-->
    <!--<span class="error-msg">{{responseErr}}</span>-->
    <!--</div>-->
    <!-- /.box-footer -->
  </form>
</div>
